package com.itheima.mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserMapper {

    @Select("select * from tb_user where username = #{username}")
    User findById(@RequestParam("username") String username);
}
